package com.ruoyi.order.mapper;

import java.util.List;
import com.ruoyi.order.domain.MesManufacturer;

/**
 * 制造商信息Mapper接口
 * 
 * @author guoxl
 * @date 2025-04-30
 */
public interface MesManufacturerMapper 
{
    /**
     * 查询制造商信息
     * 
     * @param manufacturerId 制造商信息主键
     * @return 制造商信息
     */
    public MesManufacturer selectMesManufacturerByManufacturerId(Long manufacturerId);

    /**
     * 查询制造商信息
     *
     * @param manufacturerName 制造商名称
     * @return 制造商信息
     */
    public MesManufacturer selectMesManufacturerByName(String manufacturerName);
    /**
     * 查询制造商信息列表
     * 
     * @param mesManufacturer 制造商信息
     * @return 制造商信息集合
     */
    public List<MesManufacturer> selectMesManufacturerList(MesManufacturer mesManufacturer);

    /**
     * 新增制造商信息
     * 
     * @param mesManufacturer 制造商信息
     * @return 结果
     */
    public int insertMesManufacturer(MesManufacturer mesManufacturer);

    /**
     * 修改制造商信息
     * 
     * @param mesManufacturer 制造商信息
     * @return 结果
     */
    public int updateMesManufacturer(MesManufacturer mesManufacturer);

    /**
     * 删除制造商信息
     * 
     * @param manufacturerId 制造商信息主键
     * @return 结果
     */
    public int deleteMesManufacturerByManufacturerId(Long manufacturerId);

    /**
     * 批量删除制造商信息
     * 
     * @param manufacturerIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMesManufacturerByManufacturerIds(Long[] manufacturerIds);
}
